import {QueryFiledUtil} from '@/utils'
import {DictOptions} from "@/libs/options";


export const MAIN_SEARCH = [
    QueryFiledUtil.setInputField('nickName', '会员昵称'),
    QueryFiledUtil.setInputField('phoneNumber', '手机号码'),
    QueryFiledUtil.setInputField('origin', '注册来源'),
    QueryFiledUtil.setDictUrlField('sex', '会员性别',DictOptions.Sex),
    QueryFiledUtil.setDictUrlField('level', '转化等级',DictOptions.MemberLevel),
    QueryFiledUtil.setDateRangeField('dateRange', '注册日期'),
    QueryFiledUtil.setBooleanField('realAttr', '真实属性','真实会员','虚拟会员'),
    QueryFiledUtil.setBooleanField('firmAttr', '企业会员','是','否'),
]


export const ADDRESS_SEARCH = [
    QueryFiledUtil.setInputField('nickName', '会员昵称'),
    QueryFiledUtil.setInputField('phoneNumber', '会员手机号码'),
    QueryFiledUtil.setInputField('name', '收货人姓名'),
    QueryFiledUtil.setInputField('mobile', '收货人手机'),

]

export const ACCOUNT_SEARCH = [
    QueryFiledUtil.setInputField('nickName', '会员昵称'),
    QueryFiledUtil.setInputField('phoneNumber', '会员手机号码'),
]